﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AIthin.Neuro
{
    /// <summary>
    /// Interface for all networks
    /// </summary>
    public interface INetwork
    {
        int NeuronsCount { get; }
        int inputsCount { get;  }
        int outputsCount { get;  }
        int LifeTime { get;  }

        //TODO INeuron
        INeuron this[int index] { get; }
        INetwork Load(string fileName);
        void Save(string fileName);

        void Tick(ref short[,] input, ref short[] output);
        void Tick(ref short[,] input);

    }
}
